﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Common/_Layout.cshtml";
    
}
@using EntityModel
@using MvcPaging
@model IPagedList<Brand>
   

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td  colspan="6" align="right"><a href="/Brand/create">新增</a></td>
  </tr>
  <tr>
    <td colspan="6"><table width="100%" border="0" cellpadding="0" cellspacing="1"  bgcolor="#c9c9c9"  >
        <tr style=" height:35px; line-height:35px;">
          <th  bgcolor="#FFFFFF"> 编号</th>
          <th  bgcolor="#FFFFFF"> 名称</th>
          <th  bgcolor="#FFFFFF"> 状态</th>
          <th  bgcolor="#FFFFFF"> 操作</th>
          <th  bgcolor="#FFFFFF"> 明细</th>
        </tr>
        @foreach (EntityModel.Brand c in Model)
        {     
        <tr style=" height:25px; line-height:25px; text-align:center;">
          <td  bgcolor="#FFFFFF"> @c.Id</td>
          <td bgcolor="#FFFFFF"> @c.Name</td>
          <td bgcolor="#FFFFFF"> @c.Status</td>
          <td  bgcolor="#FFFFFF"> 编辑|删除</td>
          <td bgcolor="#FFFFFF"> 查看</td>
        </tr>
        }
       
      </table></td>
  </tr>
  <tr>
    <td height="35" align="right"><div class="pager">
   @Html.Pager(Model.PageSize, Model.PageNumber, Model.TotalItemCount)
</div></td>
  </tr>
</table>
